projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a2d1e5
)
Handle menuitem detail string better.
author
Carlos Garnacho
<carlosg@gnome.org>
Wed, 17 Nov 2010 01:40:21 +0000
(
02:40
+0100)
committer
Carlos Garnacho
<carlosg@gnome.org>
Sat, 4 Dec 2010 14:39:13 +0000
(15:39 +0100)
gtk/gtkstyle.c
patch
|
blob
|
history
diff --git
a/gtk/gtkstyle.c
b/gtk/gtkstyle.c
index 5a357b4b01a4c5ebdd9af9e59bbc0fa0d59624a4..67337924cde2fa7d0291b0ef21922ce3cba6249d 100644
(file)
--- a/
gtk/gtkstyle.c
+++ b/
gtk/gtkstyle.c
@@
-1785,7
+1785,10
@@
transform_detail_string (const gchar *detail,
gtk_style_context_add_class (context, "scrollbar");
}
else if (strcmp (detail, "menuitem") == 0)
- gtk_style_context_add_class (context, "menu");
+ {
+ gtk_style_context_add_class (context, "menuitem");
+ gtk_style_context_add_class (context, "menu");
+ }
else if (strcmp (detail, "accellabel") == 0)
gtk_style_context_add_class (context, "accelerator");
else if (strcmp (detail, "menubar") == 0)